<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:66:"/home/wwwroot/tp5/public/../application/blog/view/user/editor.html";i:1489074244;s:61:"/home/wwwroot/tp5/public/../application/blog/view/layout.html";i:1488546775;s:36:"../application/blog/view/header.html";i:1488621955;s:36:"../application/blog/view/footer.html";i:1488546775;}*/ ?>
<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title><?php echo \think\Request::instance()->action(); ?></title>

        <!-- Bootstrap CSS -->
        <link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
        <style>
            html,body {
                height: 100%;
                }
            .container {
                /*background: #ccc; */
                width: 100%; 
                height: 100%
                }
            #header {
                background-color: royalblue;
                height: 10%
            }
            #middle {
                /*background: peru; */
                height: 86%
            }
            #footer {
                height: 4%; 
            }
            #left-side-menu {
                /*background: dodgerblue;*/
                height: 100%;
                padding: 0;
            }
        </style>

        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
            <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
        <!-- jQuery -->
        <script src="//code.jquery.com/jquery.js"></script>
        <!-- Bootstrap JavaScript -->
        <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
    </head>
    <body>
 	<div class="container">
		<form action="" method="post" class="form-horizontal" role="form">
			<div class="form-group">
				<label for="username" class="col-sm-2 control-label">名字</label>
				<div class="col-sm-10">
					<input type="text" name="username" id="username" class="form-control" value="<?php echo $user->username; ?>"/>
				</div>
			</div>
			<div class="form-group">
				<label for="email" class="col-sm-2 control-label">邮箱</label>
				<div class="col-sm-10">
					<input type="email" name="email" id="email" class="form-control" value="<?php echo $user->email; ?>" disabled/>
				</div>
			</div>
			<div class="form-group">
				<label for="phone" class="col-sm-2 control-label">手机</label>
				<div class="col-sm-10">
					<input type="text" name="phone" id="phone" class="form-control" value="<?php echo $user->phone; ?>" disabled/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<input type="submit"  class="btn btn-default" value="提交" />
				</div>
			</div>																			
		</form>	
	</div>

    <!--<script>
        $(function(){
            $('form').submit(function(e) {
                e.preventDefault();
                alert($('#email').val());   
            });
        });
    </script>-->
    </body>
</html>